phdMesh Version of the Day
Public Member Functions | Public Attributes
phdmesh::NamedValue< T[N] > Class Template Reference

NamedValue to a fixed size array. More...

#include <NamedValue.hpp>

Inheritance diagram for phdmesh::NamedValue< T[N] >:
phdmesh::NamedValue< void >

List of all members.

Public Member Functions

 NamedValue (const std::string &n)
void write (std::ostream &s) const
unsigned read (std::istream &s)
void tell (std::ostream &s) const
unsigned pack (void *b) const
unsigned unpack (void *b)

Public Attributes

value [N]

Detailed Description

template<typename T, unsigned N>
class phdmesh::NamedValue< T[N] >

NamedValue to a fixed size array.

Definition at line 389 of file NamedValue.hpp.


Member Function Documentation

template<typename T , unsigned N>
unsigned phdmesh::NamedValue< T[N] >::pack ( void *  ) const [inline, virtual]

Pack referenced value into a buffer, return the number of bytes

Implements phdmesh::NamedValue< void >.

Definition at line 404 of file NamedValue.hpp.

template<typename T , unsigned N>
unsigned phdmesh::NamedValue< T[N] >::unpack ( void *  ) [inline, virtual]

Unpack referenced value from a buffer, return the number of bytes

Implements phdmesh::NamedValue< void >.

Definition at line 405 of file NamedValue.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator